<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	<p:panel id="pnlBuscarCompania">
		<table>
			<tr>
				<td><h:outputLabel value="#{i18n['erp.compania.nombre']}" /> </td>
				<td><h:inputText value="#{companiaDataManager.companiaInstancia.nombreCompania}" /></td>
			</tr>
			<tr>
				<td><h:outputLabel value="#{i18n['erp.compania.descripcion']}" /> </td>
				<td><h:inputText value="#{companiaDataManager.companiaInstancia.descCompania}" /></td>
			</tr>
		</table>
	</p:panel>
	<p:panelGrid id="botonesBuscar" columns="2">
		<p:button value="#{i18n['label.buscar']}"></p:button>
		<p:button value="#{i18n['label.cancelar']}"></p:button>
	</p:panelGrid>
	<p:dataTable  value="#{companiaDataManager.listaCompania}" var="compania">
		<f:facet name="header">
			#{i18n['erp.compania.lista']}
		</f:facet>
		<p:column headerText="#{i18n['erp.compania.nombre']}">
			<h:outputText value="#{compania.nombreCompania}" />
		</p:column>
		<p:column headerText="#{i18n['erp.compania.descripcion']}">
			<h:outputText value="#{compania.descCompania}" />
		</p:column>
	</p:dataTable>
</ui:composition>